<?php
$data = file_get_contents("./jiekou.json");
$result = preg_match_all('/{"标题":"(.*?)","小标题":"(.*?)","地址":"(.*?)","状态":"(.*?)"}/',$data,$v);
?>

<?php
include('./template/index.php');
?>

<!doctype html>
<html lang="zh">
<head>
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<meta charset="UTF-8">
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<title><?php echo $web["ming"]; ?>API - 免费提供API服务</title>
<meta name="viewport"content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title><?php echo $web["ming"]; ?>API - 提供免费接口调用平台</title>
<link rel="icon" href="http://q2.qlogo.cn/headimg_dl?dst_uin=<?php echo $web["qq"]; ?>&spec=5" type="image/ico">
<meta name="keywords" content="<?php echo $web["keywords"]; ?>">
<meta name="description" content="<?php echo $web["description"]; ?>">
<link href="./template/1/public/layui/other/css/site.min.css" rel="stylesheet">
<link href="./template/1/public/layui/other/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="./template/1/public/layui/other/css/layui.css">
<link href="./template/1/public/layui/other/css/oneui.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="./template/1/public/layui/layui.all.js"></script>
<script src="../../api/data/php/yinghua/api.php"></script>
<script>
</script>
</head>
<header class="site-header">
<nav class="nav_jsxs">
<span style="float: left;"><a class="logo_jsxs" href=""></a></span>
<a href="../../zhuye">首页</a>
<a target="_blank" href="../../gengxin">更新日志</a>
<a target="_blank" href="../../yuanma">联系我们</a>
</nav>
</nav>
</nav>
</p> 
<div class="box-text">
<h1><?php echo $web["ming"]; ?>API</h1>
<p>稳定、快速、免费的 API 接口服务<br>
<span class="package-amount">共收录了<strong><?php echo $result; ?></strong>个接口 · 今日调用 <?php echo $jinri; ?> 次</span>
</p>
<marquee behavior="scroll" direction="left">特别感谢:可乐云(70033256)赞助一百六十六米，羡(1179075057)赞助一百米，奕氏(180142181)提供域名</marquee>
</p>
<div class="form-group">
<form action="/" method="POST">
<input class="form-control search clearable" placeholder="搜索API名称，然后回车！" name="msg"> 
<i class="fa fa-search"></i></div>
</div>
</div>
</div>
<audio autoplay> 
</audio></i>
</header><section class="content content-boxed">
<div class="row row_jsxs" id="listApi">

<?php
include('./template/1/Template.php');
?>

</section>
<div class="col-sm-12">
<div class="block block-link-hover2 ribbon ribbon-modern ribbon-success">
<div class="block-content">
<p class="text-center" style="margin-bottom: 10px"><img src="./template/1/css/beian.jpg">
<s><?php echo $web["beian"]; ?></s></p>
<p class="text-center">本网站只提供接口服务，造成的一切后果与本网站无关!如果本站发布的内容侵犯你的利益，请联系我。发送至我的邮箱<?php echo $web["youxiang"]; ?></p>
<p class="text-center">支持多个机器人平台使用本站</p>
<p class="text-center"><span id="runtime_span"></span>
<p class="text-center"><!--时间计算-->  
<span id="showtime"></span>  
<script language="javascript">  
function show_date_time(){  
window.setTimeout("show_date_time()", 1000);  
BirthDay=new Date("<?php echo $web["yunhang"]; ?>");//这个日期是可以修改的  
today=new Date();  
timeold=(today.getTime()-BirthDay.getTime());  
sectimeold=timeold/1000  
secondsold=Math.floor(sectimeold);  
msPerDay=24*60*60*1000  
e_daysold=timeold/msPerDay  
daysold=Math.floor(e_daysold);  
e_hrsold=(e_daysold-daysold)*24;  
hrsold=Math.floor(e_hrsold);  
e_minsold=(e_hrsold-hrsold)*60;  
minsold=Math.floor((e_hrsold-hrsold)*60);  
seconds=Math.floor((e_minsold-minsold)*60); 
showtime.innerHTML="本站已经稳定运行："+daysold+"天";  
}  
show_date_time();  
</script>  </p>
</div>
</div>
</div>

<footer id="footer" class="footer hidden-print">
<div class="container">
<div class="row">
<div class="footer-about col-md-6 col-sm-12" id="about">
<h4>关于 <?php echo $web["ming"]; ?>API</h4>
<p>
<p><?php echo $web["ming"]; ?>API是<a href="https://www.owq.plus" target="_blank" >OwQ Studio</a>，支持并维护的 API 接口项目，致力于为用户提供稳定、快速的免费 API 接口服务平台。</p>
<p><?php echo $web["ming"]; ?>API所含接口资源均来自<a href="/" target="_blank" >网络</a>，本站不提供任何存储服务！</p>
<p>如站内接口侵犯了贵司权益，请提供相关证明材料至件<?php echo $web["youxiang"]; ?>邮箱，本站将及时处理涉及内容，并予以回复！</p>
<p>本站提供的接口造成一切后果与<?php echo $web["ming"]; ?>API无关，望熟知！</p>
</div>
<div class="footer-links col-md-4 col-sm-12">
<h4>友情链接</h4>
<ul class="list-unstyled list-inline">

<?php
$目录 = file_get_contents("./template/youqing.php");
$友情 = preg_match_all("/『名字：(.*?)』『链接：(.*?)』『介绍：(.*?)』『QQ：(.*?)』『状态：已添加』/",$目录,$v);
?>

<?php
if($友情== 0){
echo "";
}else{
for( $i = 0 ; $i < $友情 && $i < $友情 ; $i ++ ){
$名字=$v[1][$i];
$链接=$v[2][$i];
echo '<a href="'.$链接.'" target="_blank">'.$名字.'</a>&nbsp;|&nbsp;';
}}?>
<a href="../../admin/shenqing.php" target="_blank">申请友链</a></li>
 
                                            </ul>
</div>
<div class="footer-techs col-md-2 col-sm-12">
<h4>联系我们</h4>
<ul class="list-unstyled list-inline">
<a target="_blank" href="../../yuanma">联系我们</a>
                                            </ul>
</div>
<div class="footer-links col-md-4 col-sm-12">
<h4>API大全(站长收集)</h4>
<ul class="list-unstyled list-inline">
<?php
include('./template/API.php');
?>
                                            </ul>
</div>
<iframe src="https://www.lovestu.com/api/project/cnmapyinqing/obj.php" height="500" frameborder="no" border="0" width="100%"> </iframe>
</div>
</div>
</div>
<div class="copy-right">
<span>Copyright © 2022 囍楽API</span>
</div>

<script type="text/javascript">
(function() {var coreSocialistValues = ["富强", "民主", "文明", "和谐", "自由", "平等", "公正", "法治", "爱国", "敬业", "诚信", "友善"], index = Math.floor(Math.random() * coreSocialistValues.length);document.body.addEventListener('click', function(e) {if (e.target.tagName == 'A') {return;}var x = e.pageX, y = e.pageY, span = document.createElement('span');span.textContent = coreSocialistValues[index];index = (index + 1) % coreSocialistValues.length;span.style.cssText = ['z-index: 9999999; position: absolute; font-weight: bold; color: #ff6651; top: ', y - 20, 'px; left: ', x, 'px;'].join('');document.body.appendChild(span);animate(span);});function animate(el) {var i = 0, top = parseInt(el.style.top), id = setInterval(frame, 16.7);function frame() {if (i > 180) {clearInterval(id);el.parentNode.removeChild(el);} else {i+=2;el.style.top = top - i + 'px';el.style.opacity = (180 - i) / 180;}}}}());
</script></div></div></div></div></header></div></div></section></div><script type="text/javascript" src="https://ohan.gitee.io/HanKu/HanJs/HanSnow.js"></script></body>

</div></div></div></section>

<!--音乐开始-->
  <audio autoplay>
  <source src="https://api.uomg.com/api/rand.music?sort=热歌榜" type="audio/mpeg">
  </audio>
<!--音乐结束-->

<script>(function(d,t,u,s,e){e=d.getElementsByTagName(t)[0];s=d.createElement(t);s.src=u;s.async=1;e.parentNode.insertBefore(s,e);})(document,'script','//api.xxuan.xyz/zhuye/data/kefu/php/app.php?widget-init.js');</script>

<script type="text/javascript" src="static/js/20354947.js"></script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan id="cnzz_stat_icon_1278270105"%3E%3C/span%3E%3Cscript src="" + cnzz_protocol + "s9.cnzz.com/z_stat.php%3Fid%3D1278270105%26online%3D1%26show%3Dline" type="text/javascript"%3E%3C/script%3E"));</script>
</body>
</html>